<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/5/3
  Time: 14:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<style type="text/css">
    .keywords {
        width: 250px;
        font-family: '微软雅黑', sans-serif, serif;
    }
    .span_h{
        background-color: #eff0f1;display: block;height: 30px;
        font-size: 16px;
        line-height:30px;
    }

</style>

<div class="pageHeader">
</div>
<div class="pageContent">
    <table class="table" width="100%" layoutH="110">
        <thead>
        <tr>
            <th width="40"  align="center">序号</th>
            <th width="120" align="center">编号</th>
            <th width="120"  align="center">上传时间</th>
            <th width="120"  align="center">区</th>
            <th width="120" align="center">街道</th>
            <th width="120" align="center">社区</th>
            <th width="120" align="center">隐患类别</th>
            <th width="100" align="center">状态</th>
            <th width="150"  align="center">操作</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${pager.list}" var="list" varStatus="state" >
            <tr>
                <td>${state.count+(pager.pageNum-1)*pager.numPerPage}</td>
                <td style="text-align: left;">${list.seqid}</td>
                <td><fmt:formatDate value="${list.createtime}" pattern="yyyy-MM-dd"/></td>
                <td>${list.fjid}</td>
                <td>${list.pcsid}</td>
                <td>${list.sqid}</td>
                <td>
                    <c:if test="${list.type==1|| list.type=='1'}">三合一</c:if>
                    <c:if test="${list.type==2|| list.type=='2'}">出租屋</c:if>
                    <c:if test="${list.type==3|| list.type=='3'}">电瓶车</c:if>
                </td>
                <td>
                    <c:if test="${list.status eq '1'}">待审核</c:if>
                    <c:if test="${list.status eq '2'}">流转中</c:if>
                    <c:if test="${list.status eq '3'}">处理中</c:if>
                    <c:if test="${list.status eq '4'}">待反馈</c:if>
                    <c:if test="${list.status eq '5'}">区确认</c:if>
                    <c:if test="${list.status eq '6'}">待确认</c:if>
                    <c:if test="${list.status eq '7'}">街道确认</c:if>
                    <c:if test="${list.status eq '8'}">退回反馈</c:if>
                    <c:if test="${list.status eq '9'}">已退回</c:if>
                </td>
                <td>
                    &nbsp;
                    <a href="<c:url value='/danger/info/detail'/>?id=${list.id}" target="dialog" mask="true" resizable="false"
                       width="600" height="600" title="查看详情" rel="page_info_detail">查看详情&nbsp;</a>
                </td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="dialogPageBreak({numPerPage:this.value})">
                <option value="20" <c:if test="${pager.numPerPage ==20}" >selected="selected"</c:if>>20</option>
                <option value="50" <c:if test="${pager.numPerPage ==50}" >selected="selected"</c:if>>50</option>
                <option value="100" <c:if test="${pager.numPerPage ==100}" >selected="selected"</c:if>>100</option>
                <option value="200" <c:if test="${pager.numPerPage ==200}" >selected="selected"</c:if>>200</option>
            </select>
            <span>条，共${pager.total}条</span>
        </div>
        <div class="pagination" targetType="dialog" totalCount="${pager.total}" numPerPage="${pager.numPerPage}" pageNumShown="10" currentPage="${pager.pageNum}"></div>
    </div>
    <form id="pagerForm" method="post" action="<c:url value='/danger/info/tj/qytjDetail'/>">
        <input type="hidden" name="pageNum" value="${pager.pageNum}"/>
        <input type="hidden" name="numPerPage" value="${pager.numPerPage}"/>
        <input type="hidden" name="orderField" value="${query.orderField}"/>
        <input type="hidden" name="orderDirection" value="${query.orderDirection}"/>
        <input type="hidden" name="start" value="<fmt:formatDate value="${query.start}" pattern="yyyy-MM-dd"/>"/>
        <input type="hidden" name="end" value="<fmt:formatDate value="${query.end}" pattern="yyyy-MM-dd"/>"/>
        <input type="hidden" name="fjid" value="${query.data.fjid}"/>
        <input type="hidden" name="pcsid" value="${query.data.pcsid}"/>
        <input type="hidden" name="sqid" value="${query.data.sqid}"/>
        <input type="hidden" name="conditionNum" value="${query.data.conditionNum}"/>
        <input type="hidden" name="deep" value="${query.data.deep}"/>
    </form>
</div>
<script type="text/javascript">

</script>
